<%@page import="java.net.URLDecoder"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%@ page import="java.net.URLEncoder" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<jsp:useBean id="goodsItem" class="goods.GoodsItem" />
<jsp:setProperty property="gs_code" name="goodsItem"
	value="${param.gs_code }" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<fmt:requestEncoding value="euc-kr" />
<%@ include file="/Dmyna/admin/head.jsp"%>
<%
	goodsItem.readGoods();
%>

<!-- 상단제목 -->
<table width="900" align="center" cellpadding="1" cellspacing="1" >
	<tr>
		<td colspan="2">
			<div style="border:1px solid #ddd; height:34px; background:url(${WEB_ROOT }/img/bbs/title_bg.gif) repeat-x;">
				<div style="font-weight: bold; font-size: 14px; margin: 7px 0 0 10px;" align="center">::&nbsp;&nbsp;상품 보기&nbsp;&nbsp;::</div>
			</div>
		</td>
	</tr>
	</table>
<table width="900" border="1" align="center" cellpadding="1" cellspacing="2" bordercolor="#f0f0f0">	
	<tr>
		<td align="center" width="200">[상품코드]</td>
		<td>${goodsItem.gs_code }<br /></td>
	</tr>
	<tr>
		<td align="center">[분류]</td>
		<td>${goodsItem.cate_big_code }<br /></td>
	</tr>
	<tr>
		<td align="center">[제품코드]</td>
		<td>${goodsItem.gs_middle_code }<br /></td>
	</tr>
	<tr>
		<td align="center">[상품명]</td>
		<td>${goodsItem.gs_name }<br /></td>
	</tr>
	<tr>
		<td align="center">[색상]</td>
		<td>${goodsItem.color_code }<br /></td>
	</tr>
	<tr>
		<td align="center">[사이즈]</td>
		<td>${goodsItem.size_code }<br /></td>
	</tr>
	<tr>
		<td align="center">[원가격]</td>
		<td>${goodsItem.gs_org_price}<br /></td>
	</tr>
	<tr>
		<td align="center">[할인가격]</td>
		<td>${goodsItem.gs_sale_price }<br /></td>
	</tr>
	<tr>
		<td align="center">[할인여부]</td>
		<td>${goodsItem.gs_sale_chk }<br /></td>
	</tr>
	<tr>
		<td align="center">[전시여부]</td>
		<td>${goodsItem.gs_display_chk }<br /></td>
	</tr>
	<tr>
		<td align="center">[등록일]</td>
		<td>${goodsItem.gs_reg_date }<br /></td>
	</tr>
	<tr>
		<td align="center">[조회수]</td>
		<td>${goodsItem.gs_view_cnt }<br /></td>
	</tr>
	<tr>
		<td align="center">[이미지]</td>
		<td><c:if test="${!empty goodsItem.gs_img }">
				<img src="upload/small.${goodsItem.gs_img }" width="150" border="0" />
				<br />
			</c:if></td>
	</tr>
	<tr>
		<td align="center">[상세이미지]</td>
		<td><c:if test="${!empty goodsItem.gs_img2 }">
				<img src="upload/detail.${goodsItem.gs_img2 }" width="150" border="0" />
				<br />
			</c:if></td>
	</tr>
	<tr>
		<td align="center">[설명]</td>
		<td>${goodsItem.gs_content}<br /></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="button" value="목록"
			onclick="javascript:history.go(-1)" /></td>
	</tr>
</table>
<%@ include file="/Dmyna/admin/tail.jsp" %>
